<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/pub/head_both.inc"%>
<title>模块管理</title>
</head>
<body>
	<!-- 这里定义了转发进入的TAB对应的菜单ID，也是TAB的属性ID值 -->
	<input type="hidden" name="menuId" id="menuId" value="${param.menuId}" />
	<!-- Search Form -->
	<!-- 搜索表单 -->
	<!-- <div class="mainsearch" style="width: 98%">
		<div class="search-header">模块设计</div>
		 <div class="searchbox">
			<form id="formsearch" class="l-form" method="get">
				<table cellpadding="0" cellspacing="1" class="l-table-edit">
					<tr>
						<td align="right" class="l-table-edit-td">模块名</td>
						<td align="left" class="l-table-edit-td"><input type="text"
							id="code" name="moduleName" ltype="text" class="field" value=""
							style="width: 160px" /></td>
						<td align="right" class="l-table-edit-td"
							style="padding-left: 30px">表名</td>
						<td align="left" class="l-table-edit-td"><input type="text"
							id="name" name="tableName" ltype="text" class="field" value=""
							style="width: 160px" /></td>
						<td align="left" class="l-table-edit-td" style="padding-left: 30px">
							<button type="button" id="btnSearch" class="l-button l-button-submit"><i class="fa fa-search"></i> 搜索</button>
						</td>
						<td align="left" class="l-table-edit-td">
							<button type="reset" id="btnReset" class="l-button l-button-test" ><i class="fa fa-exchange"></i> 重置</button>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div> -->

	<!-- Grid List-->
	<div id="downloadVersiongrid"></div>
   
	<script type="text/javascript">
	var win = parent || window;
	
 	function badousoft(){}
		badousoft.ajax=function(s){
	    jQuery.ajax(s);
	}	
  		
    var downloadVersionGrid = $("#downloadVersiongrid").ligerGrid({
          columns: [
		       {display:"版本号",name:"version",width:150,type:"text",align:"center",isSort : true,
		    	   render: function (row) {
		    		   var result = '';
		    		   result = row.versionCode + row.version1 + row.version2 + row.version3 ; 
		    		   return result;
		       	   }
		       },
		     /*  {display:"提交时间",name:"uploadTime",width:150,type:"text",align:"center",isSort : true}  */
		      {display:"版本描述",name:"remark",width:300,type:"text",align:"center",isSort : true} ,
		     
   		  ],
          dataAction: 'server',toolbar: null,
          url:'${baseURL}/plateform/resourcedownloadlist/versionListJSON.do?resourceId=${resourceId}&type=${type}', sortName: 'code',
          width: '98%', height: '65%',heightDiff:20, checkbox: true,
          pageParmName:"pageNo",pageSizeOptions:[${pageOptions}], pagesizeParmName:"perPageSize",
          rowHeight:23,rownumbers:true,isScroll:true,sortnameParmName:"sortName",
          sortorderParmName:"sortOrder",checkbox:true,pageSize: ${pageSize}
    });
    
  </script>
</body>
</html>